﻿
Imports FL_8x0.Viewmodel
Imports  FL_8x0.Common.SystemData

Namespace FL_8x0.View
    Public Class UserWindow
        Public Sub New()

            ' 此调用是设计器所必需的。
            InitializeComponent()

            ' 在 InitializeComponent() 调用之后添加任何初始化。
            DataContext = New UserViewModel
        End Sub


        Private Sub UserTable_LayoutUpdated(ByVal sender As Object, ByVal e As EventArgs)
            If g_strUserName <> SUPER_USER_NAME Then
                UserTable.Columns(1).MinWidth = 0
                UserTable.Columns(1).Width = 0
                UserTable.Columns(2).MinWidth = 0
                UserTable.Columns(2).Width = 0
            End If

        End Sub

    End Class
End NameSpace